package com.gopay.common.domain.mail;

import com.gopay.common.constants.mail.MailLevel;
import com.gopay.common.domain.BaseEntity;

/**
 * Created by zhangjianlong on 2016/10/13. All Right reserved
 */
public class SendWithAttachment extends BaseEntity{

    /**
     *
     */
    private static final long serialVersionUID = -3591938036528267041L;

    /**
     * 收件人，有多名收件人时逗号隔开。如:yao-bo@hnair.com,leoyaobo@163.com等
     */
    private String receivers;

    /**
     * 邮件模板名称
     */
    private String template;

    /**
     * 渲染内容,json格式
     */
    private String content;

    private MailLevel level;

    /**
     * 附件路径,json格式：
     * {
     *  "天溢盈第20160928期-刘德华.Pdf":"/upload/tyy/20160334535345.pdf",
     *  "天溢盈第20160929期-刘亦菲.Pdf":"/upload/tyy/20160334539807.pdf"
     * }
     */
    private String attachments;

    private String sendType;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getReceivers() {
        return receivers;
    }

    public void setReceivers(String receivers) {
        this.receivers = receivers;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public MailLevel getLevel() {
        return level;
    }

    public void setLevel(MailLevel level) {
        this.level = level;
    }

    public String getAttachments() {
        return attachments;
    }

    public void setAttachments(String attachments) {
        this.attachments = attachments;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }
}
